package cn.south.campus.admin.campus.service;


import cn.south.campus.admin.campus.model.entity.Ad;
import cn.south.campus.admin.campus.model.req.AdReq;
import cn.south.campus.admin.campus.model.vo.AdVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chow
 * @since 2024-11-11
 */
public interface AdService extends IService<Ad> {

    List<AdVO> listAd(AdReq req);

    IPage<AdVO> pageAd(AdReq req);

    void saveAd(AdVO adVO);

    void updateAd(AdVO adVO);
}
